﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dummy-test-defaultbutton.aspx.cs" Inherits="Event_SG_EWDT.TestForm.dummy_test_defaultbutton" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" defaultbutton="button1">
    <div>
        <asp:button id="button1" text="Same Page" runat="server" 
            onclick="button1_Click"/>

          <asp:panel defaultbutton="button2" runat="server">

              <asp:textbox id="foo" runat="server"/>

              <asp:button id="button2" runat="server" onclick="button2_Click"/>

          </asp:panel>


    </div>
    </form>
</body>
</html>
